#ifndef __MQ4
#define __MQ4

#include "stm32f10x.h"
#include "Delay.h"

#define MQ4_GPIO_Port		GPIOA
#define MQ4_GPIO_Pin		GPIO_Pin_0

extern uint16_t mq4_data;
extern uint16_t mh_data;
extern int8_t mq4_threshold_l;
extern int8_t mq4_threshold_h;

void MQ4_Init(void);
void MQ4_ReadData(void);
void MH_ReadData(void);

#endif
